package com.crayon.account.impl;

import com.crayon.sharemenu.R;

import java.io.Serializable;

public interface OnSegmentRadioChange {
	public enum SEGMENTMENU implements Serializable{

        MENU_CREATE_TABLE(R.string.main_list_menutext_table_list),
        MENU_CREATE_MENUITEM(R.string.main_list_menutext_add_menu),

		MONTHLYLIST(R.string.segmenu_bottom_monthly),
		MONTHLYCATEGORY(R.string.segmenu_bottom_cate),
		MONTHLYCARDBANK(R.string.segmenu_bottom_cardbank),

        LIST_DAILY(R.string.segmenu_bottom_list_daily),
        CATEGORY_DAILY(R.string.segmenu_bottom_cate_daily),
        CARDBANK_DAILY(R.string.segmenu_bottom_cardbank_daily),

        SUMMARYIOTOTAL(R.string.segmenu_summary_total),
		SUMMARY_IOTYPE(R.string.segmenu_summary_monthly),
		SUMMARY_DAYOFMONTH(R.string.segmenu_summary_dayofmonth),
		SUMMARY_DAYOFWEEK(R.string.segmenu_summary_dayofweek),
		SUMMARY_CATE(R.string.segmenu_summary_cate),
		SUMMARYCARDCASH(R.string.segmenu_summary_cardcash),
		
		ITEMEND(R.string.segmenu_bottom_cardbank);
		int nId;
		private SEGMENTMENU(int resId){
			this.nId = resId;
		}
		public int getnId() {
			return nId;
		}
		public void setnId(int nId) {
			this.nId = nId;
		}
	}
	public void onChangedMenu(SEGMENTMENU menu);
}
